import unittest
from testcase import demotestcase1, demotestcase2

# TODO 通过模块名
# loader
loader = unittest.defaultTestLoader.loadTestsFromModule(demotestcase1)

# suite   loader就是suite对象,这里可以不用收集

# runner
runner = unittest.TextTestRunner()
runner.run(loader)
